<!--
 * @Author: nns4
 * @Date: 2019-12-03 14:57:20
 * @LastEditors: nns4
 * @LastEditTime: 2020-02-25 15:32:15
 * @FilePath: /citciWechartShop/src/views/test/axios.vue
 * @Description: axios 请求
 -->
<template>
  <div>
    <van-button @click="clickAxios" type="warning">axios</van-button>
  </div>
</template>

<script>
import { find } from "@api/test";
export default {
  name: "axiso",
  data() {
    return {};
  },
  methods: {
    clickAxios() {
      /**
       * @description:
       * @param {find({传的参数},显示加载动画 默认false)}
       * @return:
       */

      find({ id: 1 }, true).then();
    }
  },
  mounted() {},
  computed: {},
  watch: {}
};
</script>
